﻿using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;
using Planisoft.Entities;

namespace Planisoft.DAO.Mapping
{
    public class AportePdtSunatMap : EntityTypeConfiguration<AportePdtSunat>
    {
        public AportePdtSunatMap() 
        {
            // Primary Key
            this.HasKey(t => t.IdAportePdtSunat);

            // Properties
            

            // Table & Column Mappings
            this.ToTable("AportePdtSunat");
            this.Property(t => t.IdAportePdtSunat).HasColumnName("IdAportePdtSunat");
            this.Property(t => t.CodAportSunat).HasColumnName("CodAportSunat");
            this.Property(t => t.DescAportSunat).HasColumnName("DescAportSunat");
        }
    }
}
